"""
-------------------------------
- File_Name: authDepend.py
- Date: 2025/2/15
- Author: yangzhide
- Email: xxzjyzd@126.com
- Description: 验证依赖
-------------------------------
"""
import os
from config import get_api_environment_var
from fastapi.security import OAuth2PasswordBearer

api_environment = get_api_environment_var()

#Oauth2
tokenUrl = os.path.join('auth','login')
oauth2_scheme = OAuth2PasswordBearer(tokenUrl)